// Copyright 2010 The Go Authors.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Stub PRNG implementation.

// TODO: Implement this.
// rand_unix.go contains a usable PRNG implementation, we just need a good entropy source.

package rand

import "errors"

type stubReader int

func init() {
	Reader = stubReader(0)
}

func (r stubReader) Read(b []byte) (n int, err error) {
	return 0, errors.New("crypto/rand/rand_helenos.go: cryptographic PRNG is not yet implemented on HelenOS")
}

